package me.siphone.http.api;

import androidx.annotation.NonNull;
import com.hjq.http.config.IRequestApi;

public class QueryUserInfo implements IRequestApi {
    @NonNull
    @Override
    public String getApi() {
        return "/prod-api/getWxUserInfo";
    }

    public static class Result {

        private User user;

        public User getUser() {
            return user;
        }

        public static class User {
            private String nickName;
            private Dept dept;

            public String getNickName() {
                return nickName;
            }

            public Dept getDept() {
                return dept;
            }

            public static class Dept {
                private String deptName;

                public String getDeptName() {
                    return deptName;
                }
            }
        }
    }
}
